home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 8352 / 8352.xpi / chrome / greasefire.jar / content / picker.xul < prev    next >
Extensible Markup Language  |  2009-05-11  |  3KB  |  113 lines

  1. <?xml version="1.0"?>
  2. <!--
  3.   Copyright (C) 2008 by Steve Krulewitz <skrulx@gmail.com>
  4.   Licensed under GPLv2 or later, see file LICENSE in the xpi for details.
  5. -->
  6. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  7. <?xml-stylesheet href="chrome://greasefire/content/picker.css"?>
  8. <window
  9.   id="greasefire-picker"
  10.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  11.   xmlns:xhtml="http://www.w3.org/1999/xhtml"
  12.   width="800"
  13.   height="600"
  14.   persist="width height screenX screenY sizemode"
  15.   onload="PickerController.init();"
  16. >
  17. <script
  18.   type="application/javascript"
  19.   src="chrome://greasefire/content/picker.js"
  20. />
  21. <script
  22.   type="application/javascript"
  23.   src="chrome://global/content/contentAreaUtils.js"
  24. />
  25. <keyset>
  26.   <key keycode="VK_ESCAPE" oncommand="window.close()"/>
  27. </keyset>
  28.  
  29. <hbox flex="1">
  30.   <vbox width="250" id="left-content-area" persist="width">
  31.     <hbox>
  32.       <textbox
  33.         id="filter"
  34.         type="timed"
  35.         flex="1"
  36.         emptytext="Filter scripts..."
  37.         timeout="500"
  38.         oncommand="PickerController.updateFilter();"
  39.       />
  40.     </hbox>
  41.     <tree id="list" flex="1" enableColumnDrag="true">
  42.       <treecols>
  43.         <treecol
  44.           id="scriptname"
  45.           label="Script Name"
  46.           flex="1"
  47.           persist="width ordinal hidden"
  48.         />
  49.         <splitter class="tree-splitter"/>
  50.         <treecol
  51.           id="scriptrank"
  52.           label="Rank"
  53.           hidden="false"
  54.           type="progressmeter"
  55.           persist="width ordinal hidden"
  56.         />
  57.         <splitter class="tree-splitter"/>
  58.         <treecol
  59.           id="scriptupdated"
  60.           label="Updated"
  61.           hidden="true"
  62.           persist="width ordinal hidden"
  63.         />
  64.         <splitter class="tree-splitter"/>
  65.         <treecol
  66.           id="scriptmatch"
  67.           label="Match"
  68.           hidden="true"
  69.           persist="width ordinal hidden"
  70.         />
  71.         <splitter class="tree-splitter"/>
  72.         <treecol
  73.           id="scriptinstalls"
  74.           label="Installs"
  75.           hidden="true"
  76.           persist="width ordinal hidden"
  77.         />
  78.       </treecols>
  79.       <treechildren/>
  80.     </tree>
  81.   </vbox>
  82.   <splitter/>
  83.   <vbox flex="1" persist="width" id="right-content-area">
  84.     <hbox align="center">
  85.       <textbox id="url" readonly="true" flex="1"/>
  86.       <hbox align="right">
  87.         <image class="throbber" id="throbber"/>
  88.       </hbox>
  89.     </hbox>
  90.     <tabbox flex="1" id="tabbox">
  91.       <tabs>
  92.         <tab label="Details"/>
  93.         <tab label="Source"/>
  94.       </tabs>
  95.       <tabpanels flex="1" id="tabpanels">
  96.         <tabpanel id="info_panel">
  97.           <browser type="content" flex="1" id="info"/>
  98.         </tabpanel>
  99.         <tabpanel id="source_panel">
  100.           <browser type="content" flex="1" id="source"/>
  101.         </tabpanel>
  102.       </tabpanels>
  103.     </tabbox>
  104.     <button
  105.       label="Install"
  106.       id="install"
  107.       oncommand="PickerController.installSelected();"
  108.     />
  109.   </vbox>
  110. </hbox>
  111.  
  112. </window>
  113.